package com.atguigu.gulimall.cart;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @author lk
 * @version 1.0.0
 * @Description 购物车服务
 * @createTime 2024/2/18 12:35
 */
@EnableFeignClients
@EnableRedisHttpSession
@EnableDiscoveryClient
//开启服务注册并排除数据库自动配置
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class GulimallCartApplication {
    public static void main(String[] args) {
        SpringApplication.run(GulimallCartApplication.class, args);
    }
}
